package com.example.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;


@Data
@TableName("activity_user")
public class ActivityUser extends Model<ActivityUser> {
    /**
      * 主键
      */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
      * 活动名称
      */
    private String name;
    private String user;
    private String itemName;

    /**
      * 参加用户id
      */
    private Long userId;

    /**
      * 活动id
      */
    private Long itemId;

    /**
      * 缴纳费用
      */
    private Integer fee;

}
